package cn.lumora.pojo;

import cn.lumora.core.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * 角色天赋关联实体类
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("character_talents")
public class CharacterTalent extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 角色ID
     */
    @TableField("character_id")
    private String characterId;

    /**
     * 天赋ID
     */
    @TableField("talent_id")
    private String talentId;

    /**
     * 天赋等级
     */
    @TableField("talent_level")
    private Integer talentLevel;
}
